package com.ruoyi.temu.service;

import java.util.List;
import com.ruoyi.temu.domain.TemuSubPurchaseOrder;

/**
 * 备货单Service接口
 * 
 * @author ruoyi
 * @date 2023-09-25
 */
public interface ITemuSubPurchaseOrderService 
{
    /**
     * 查询备货单
     * 
     * @param subPurchaseOrderSn 备货单主键
     * @return 备货单
     */
    public TemuSubPurchaseOrder selectTemuSubPurchaseOrderBySubPurchaseOrderSn(String subPurchaseOrderSn);

    /**
     * 查询备货单列表
     * 
     * @param temuSubPurchaseOrder 备货单
     * @return 备货单集合
     */
    public List<TemuSubPurchaseOrder> selectTemuSubPurchaseOrderList(TemuSubPurchaseOrder temuSubPurchaseOrder);

    /**
     * 新增备货单
     * 
     * @param temuSubPurchaseOrder 备货单
     * @return 结果
     */
    public int insertTemuSubPurchaseOrder(TemuSubPurchaseOrder temuSubPurchaseOrder);

    /**
     * 修改备货单
     * 
     * @param temuSubPurchaseOrder 备货单
     * @return 结果
     */
    public int updateTemuSubPurchaseOrder(TemuSubPurchaseOrder temuSubPurchaseOrder);

    /**
     * 批量删除备货单
     * 
     * @param subPurchaseOrderSns 需要删除的备货单主键集合
     * @return 结果
     */
    public int deleteTemuSubPurchaseOrderBySubPurchaseOrderSns(String[] subPurchaseOrderSns);

    /**
     * 删除备货单信息
     * 
     * @param subPurchaseOrderSn 备货单主键
     * @return 结果
     */
    public int deleteTemuSubPurchaseOrderBySubPurchaseOrderSn(String subPurchaseOrderSn);
}
